package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 v_vorder
 * 
 * @author colin
 * @date 2021-09-17
 */
public class VVorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 产线id */
    @Excel(name = "产线id")
    private Long deviceId;

    /** 制令单号 */
    @Excel(name = "制令单号")
    private String po;

    /** 产线名称 */
    @Excel(name = "产线名称")
    private String pname;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setPo(String po) 
    {
        this.po = po;
    }

    public String getPo() 
    {
        return po;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("po", getPo())
            .append("pname", getPname())
            .toString();
    }
}
